*{
    margin: 0;
    padding: 0;
    font-family: Microsoft Yahei;
}
.clicks{
    position: absolute;
    right: 10px;
}
.bg{
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.3;
    display: none;
}


.login{
    width: 300px;
    height: 255px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -200px;
    margin-left: -150px;
    background: #fff;
    border: 1px solid grey;
    display: none;
    z-index: 10;
    font-size: 14px;
}

.close{
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    background: url("../imgs/img.jpg");
}

.l_username{
    width: 240px;
    height: 30px;
    position: absolute;
    top: 40px;
    left: 50%;
    margin-left: -120px;
    line-height: 25px;
    border: 1px solid grey;
}
.l_usericon{
    float: left;
    width: 30px;
    height: 30px;   
    background: url("../imgs/img.jpg") 0 -28px;
}
#l_name{
    float: right;
    width: 202px;
    height: 22px;
    padding: 4px;
    outline: none;
    border: none;
}
.l_namewarn{
    width: 80px;
    height: 15px;
    position: absolute;
    top: 75px;
    left: 23%;   
    color: red;
    font-size: 12px;
    display: none;
}

.l_password{
    width: 240px;
    height: 30px;
    position: absolute;
    top: 100px;
    left: 50%;
    margin-left: -120px;
    line-height: 25px;
    border: 1px solid grey;
}
.l_pwdicon{
    float: left;
    width: 30px;
    height: 30px;   
    background: url("../imgs/img.jpg")0 -60px;
}
#l_pwd{
    float: right;
    width: 202px;
    height: 22px;
    padding: 4px;
    outline: none;
    border: none;
}
.l_pwdwarn{
    width: 100px;
    height: 15px;
    position: absolute;
    top: 135px;
    left: 23%;    
    color: red;
    font-size: 12px;  
    display: none; 
}

.message{
    width: 240px;
    height: 30px;
    position: absolute;
    top: 150px;
    left: 50%;
    margin-left: -120px;
    line-height: 30px;
}
.remember{
    width: 110px;
    height: 30px;  
    float: left;
}
.forget{
    width: 64px;
    height: 30px;  
    float: right;
}
a{
    text-decoration: none;
    color: #000;
}
a:hover{
    color: red;
}

.l_button{
    width: 240px;
    height: 30px;
    position: absolute;
    top: 190px;
    left: 50%;
    margin-left: -120px;
    border-radius: 5px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #00728a;
    font-size: 16px;
    color: #fff;
}


.register{
    width: 300px;
    height: 370px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -200px;
    margin-left: -150px;
    background: #fff;
    border: 1px solid grey;
    display: none;
    z-index: 10;
    font-size: 14px;
}
.r_username{
    width: 240px;
    height: 30px;
    position: absolute;
    top: 40px;
    left: 50%;
    margin-left: -120px;
    line-height: 25px;
    border: 1px solid grey;
}
.r_usericon{
    float: left;
    width: 30px;
    height: 30px;   
    background: url("../imgs/img.jpg") 0 -28px;    
}
#r_name{
    float: right;
    width: 202px;
    height: 22px;
    padding: 4px;
    outline: none;
    border: none;    
}
.r_namewarn{
    width: 80px;
    height: 15px;
    position: absolute;
    top: 75px;
    left: 23%;   
    color: red;
    font-size: 12px;
}
.r_password{
    width: 240px;
    height: 30px;
    position: absolute;
    top: 95px;
    left: 50%;
    margin-left: -120px;
    line-height: 25px;
    border: 1px solid grey;
}
.r_pwdicon{
    float: left;
    width: 30px;
    height: 30px;   
    background: url("../imgs/img.jpg")0 -60px;
}
#r_pwd{
    float: right;
    width: 202px;
    height: 22px;
    padding: 4px;
    outline: none;
    border: none;
}
.r_pwdwarn{
    width: 100px;
    height: 15px;
    position: absolute;
    top: 130px;
    left: 23%;    
    color: red;
    font-size: 12px; 
}
.r_pwdt{
    width: 240px;
    height: 30px;
    position: absolute;
    top: 150px;
    left: 50%;
    margin-left: -120px;
    line-height: 25px;
    border: 1px solid grey;
}
.r_pwdticon{
    float: left;
    width: 30px;
    height: 30px;   
    background: url("../imgs/img.jpg")0 -90px;
}
#r_pwdt{
    float: right;
    width: 202px;
    height: 22px;
    padding: 4px;
    outline: none;
    border: none;
}
.r_pwdtwarn{
    width: 100px;
    height: 15px;
    position: absolute;
    top: 185px;
    left: 23%;    
    color: red;
    font-size: 12px; 
}
.hobby{
    width: 240px;
    height: 30px;
    position: absolute;
    top: 205px;
    left: 50%;
    margin-left: -120px;
    line-height: 25px;
    border: 1px solid grey;     
}
.hobbyicon{
    width: 30px;
    height: 30px;
    background: url("../imgs/img.jpg") 0 30px;
}
#hobby{
    width: 210px;
    height: 30px;
    position: absolute;
    top: 0;
    left: 30px;
    border: none;
    outline: none;
}
.code{
    width: 240px;
    height: 30px;
    position: absolute;
    top: 255px;
    left: 50%;
    margin-left: -120px;
    line-height: 25px;
    border: 1px solid grey;
}
#r_code{
    position: absolute;
    top: 255px;
    left: 30px;
    width: 80px;
    height: 22px;
    padding: 4px;
    outline: none;
    border: none;
    border: 1px solid grey;    
}
.pic{
    position: absolute;
    top: 255px;
    left: 130px;
    width: 70px;
    height: 30px;
    border: 1px solid grey;
}
.change{
    position: absolute;
    top: 255px;
    left: 210px;
    width: 60px;
    height: 30px; 
    font-size: 16px;
    line-height: 30px;
    text-align: center;
}
.r_button{
    width: 240px;
    height: 30px;
    position: absolute;
    top: 305px;
    left: 50%;
    margin-left: -120px;
    border-radius: 5px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #00728a;
    font-size: 16px;
    color: #fff;    
}